"""
Created on Apr 1, 2010

@author: aamn
"""

import pyfits

def fix_spex(fitsfile):
    """ for a typical SpeX fits file or file object, return a pyfits object
    encapsulating a FITS bintable the correctly maps the arrays to a WCS
    standard.
    """
    return fitstable
